package com.HomeWorkhsp.chapter10.homework.homework06;

/**
 * Enjoy programming!!!
 * Time: 2021/12/12 -  18:51
 */
public class Test {
    public static void main(String[] args) {
        Person tang = new Person("唐僧", new Horse());
        tang.common();
        tang.crossRiver();
        tang.common();



    }
}
